package com.roads.engineering.domain.summary;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.roads.common.annotation.Excel;
import com.roads.common.core.domain.BaseEntity;

/**
 * 汇总-工程量计量清单对象 eng_summary_boq_meterage
 *
 * @author nhp
 * @date 2022-06-24
 */
public class SummaryBoqMeterage extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    private Long id;

    /**
     * 标段编码
     */
    private String institutionCode;

    /**
     * 标段名称
     */
    private String institutionName;

    /**
     * 期次
     */
    private String periodName;

    /**
     * 标段清单编码
     */
    private String institutionBoqCode;

    /**
     * 计量清单编码
     */
    private String meterageBoqCode;

    /**
     * 清单编号
     */
    private String boqCode;

    /**
     * 清单编号别名
     */
    private String boqCodeAlias;

    /**
     * 清单名称
     */
    private String boqName;

    /**
     * 清单名称别名
     */
    private String boqNameAlias;

    /**
     * 单位
     */
    private String unit;

    /**
     * 单位别名
     */
    private String unitAlias;

    /**
     * 祖籍列表
     */
    private String ancestors;

    /**
     * 本期计量数量
     */
    private BigDecimal amount;

    /**
     * 本期计量金额
     */
    private BigDecimal total;

    /**
     * 百分比
     */
    private Integer ratio;

    /**
     * 起始桩号
     */
    private String beginStation;

    /**
     * 截止桩号
     */
    private String endStation;

    /**
     * 起始截止桩号
     */
    private String beginEndStation;

    /**
     * 分部
     */
    private String place;

    /**
     * 分项
     */
    private String item;

    /**
     * 计算式
     */
    private String formula;

    /**
     * 图号
     */
    private String blueprint;

    /**
     * 交工证书号
     */
    private String certificateNo;

    /**
     * 草图路径
     */
    private String sketchPath;

    /**
     * 计量类型
     */
    private String meterageType;

    /**
     * 清单类型 0.工程量清单 1.计量清单
     */
    private Integer boqType;

    /**
     * 序列号
     */
    @Excel(name = "序列号")
    private Integer serialNumber;

    /**
     * 计量编号
     */
    private String serialNumberText;

    /**
     * 是否批复 N：否 Y：是
     */
    private String isApprove;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setInstitutionCode(String institutionCode) {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() {
        return institutionCode;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setPeriodName(String periodName) {
        this.periodName = periodName;
    }

    public String getPeriodName() {
        return periodName;
    }

    public void setInstitutionBoqCode(String institutionBoqCode) {
        this.institutionBoqCode = institutionBoqCode;
    }

    public String getInstitutionBoqCode() {
        return institutionBoqCode;
    }

    public void setMeterageBoqCode(String meterageBoqCode) {
        this.meterageBoqCode = meterageBoqCode;
    }

    public String getMeterageBoqCode() {
        return meterageBoqCode;
    }

    public void setBoqCode(String boqCode) {
        this.boqCode = boqCode;
    }

    public String getBoqCode() {
        return boqCode;
    }

    public String getBoqCodeAlias() {
        return boqCodeAlias;
    }

    public void setBoqCodeAlias(String boqCodeAlias) {
        this.boqCodeAlias = boqCodeAlias;
    }

    public String getUnitAlias() {
        return unitAlias;
    }

    public void setUnitAlias(String unitAlias) {
        this.unitAlias = unitAlias;
    }

    public void setBoqName(String boqName) {
        this.boqName = boqName;
    }

    public String getBoqName() {
        return boqName;
    }

    public String getBoqNameAlias() {
        return boqNameAlias;
    }

    public void setBoqNameAlias(String boqNameAlias) {
        this.boqNameAlias = boqNameAlias;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public void setRatio(Integer ratio) {
        this.ratio = ratio;
    }

    public Integer getRatio() {
        return ratio;
    }

    public void setBeginStation(String beginStation) {
        this.beginStation = beginStation;
    }

    public String getBeginStation() {
        return beginStation;
    }

    public void setEndStation(String endStation) {
        this.endStation = endStation;
    }

    public String getEndStation() {
        return endStation;
    }

    public void setBeginEndStation(String beginEndStation) {
        this.beginEndStation = beginEndStation;
    }

    public String getBeginEndStation() {
        return beginEndStation;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getPlace() {
        return place;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public String getItem() {
        return item;
    }

    public void setFormula(String formula) {
        this.formula = formula;
    }

    public String getFormula() {
        return formula;
    }

    public void setBlueprint(String blueprint) {
        this.blueprint = blueprint;
    }

    public String getBlueprint() {
        return blueprint;
    }

    public void setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public void setSketchPath(String sketchPath) {
        this.sketchPath = sketchPath;
    }

    public String getSketchPath() {
        return sketchPath;
    }

    public void setMeterageType(String meterageType) {
        this.meterageType = meterageType;
    }

    public String getMeterageType() {
        return meterageType;
    }

    public void setBoqType(Integer boqType) {
        this.boqType = boqType;
    }

    public Integer getBoqType() {
        return boqType;
    }

    public void setSerialNumber(Integer serialNumber) {
        this.serialNumber = serialNumber;
    }

    public Integer getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumberText(String serialNumberText) {
        this.serialNumberText = serialNumberText;
    }

    public String getSerialNumberText() {
        return serialNumberText;
    }

    public String getIsApprove() {
        return isApprove;
    }

    public void setIsApprove(String isApprove) {
        this.isApprove = isApprove;
    }
}
